<template>
  <div>
    <img v-if="sale === '1'" src="https://www.hatchdo.com/wxmini/sales/1.jpg" style="width:100%;" mode="widthFix" />
    <img v-else-if="sale === '2'" src="https://www.hatchdo.com/wxmini/sales/2.jpg" style="width:100%;" mode="widthFix" />
    <div v-else></div>
  </div>
</template>
<script>


export default {
  components: {
  },
  data () {
    return {
        sale: 0
    }
  },
  methods: {
  },
  onShow () {
      console.log(this.$root.$mp.query.sale)
      this.sale = this.$root.$mp.query.sale
  }
}
</script>
<style lang='scss'>


</style>